home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / pbatch11.zip / BATCH16.ENG < prev    next >
Text File  |  1994-07-14  |  717b  |  14 lines

  1.   Then  we treat the programs exit value, often called  
  2.   "errorlevel". We proceed  like this: We  count  from
  3.   254 down to 1. For example: First we  check  whether
  4.   anyone has pressed the key [Esc] that corresponds to
  5.   "if errorlevel 254". If that is the case, we jump to
  6.   our label "END". If it has been the third menu line,
  7.   we jump to PROG3, the first Menu line  will  lead to
  8.   our subroutine PROG1. If the  second  line  has been
  9.   has been called, the menu is recreated, for the  se-
  10.   cond menu line is an empty line in our menu file and
  11.   should do anything. As a default, empty lines in the
  12.   menu  source  files are replaced by separators; this
  13.   option can be inactivated using "-ml0".
  14.